//
//  TipView.h
//  YinHang
//
//  Created by 张亚哲 on 14/10/28.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TipDelegate <NSObject>

-(void)cancel;
-(void)confirm;

@end

@interface TipView : UIView

//标题
@property (weak, nonatomic) IBOutlet UILabel *TitleLabel;
//描述
@property (weak, nonatomic) IBOutlet UILabel *DescribeLabel;
//输入描述
@property (weak, nonatomic) IBOutlet UILabel *introduce;
//输入框
@property (weak, nonatomic) IBOutlet UITextField *input;
//取消按钮
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
//确认按钮
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;

@property (nonatomic,assign)id<TipDelegate> delegate;

- (IBAction)IBActionCancel:(UIButton *)sender;

- (IBAction)IBActionComfirm:(UIButton *)sender;

-(id)initWithTitle:(NSString *)Title descriobe:(NSString *)describe introduce:(NSString *)introduce rect:(CGRect)frame;

-(void)TipViewHidden;


@end
